#ifndef _BEZIER_H_
#define _BEZIER_H_

#include "cg.h"

int cg_fact(int n);
double cg_bernstein(int n, int i, double t);
void cg_bezier_eval(double *dest, double u, double w, cgPoint **b, int s);
void cg_bezier_grid(cgPoint **dest, cgPoint **src, int s);

#endif
